package com.yanchangapp.model.request;

import com.yanchangapp.model.bean.CnProductBean;
import java.util.List;

/**
 * Created by apple on 2019-08-21.
 * description:修改合同请求体
 */
public class EditContractRequest {
    private String id;
    private double totalMoney;
    private List<CnProductBean> products;
    private String covenant;

    public EditContractRequest(String id,
                               double totalMoney,
                               List<CnProductBean> products,
                               String covenant) {
        this.id = id;
        this.totalMoney = totalMoney;
        this.products = products;
        this.covenant = covenant;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public double getTotalMoney() {
        return totalMoney;
    }

    public void setTotalMoney(double totalMoney) {
        this.totalMoney = totalMoney;
    }

    public List<CnProductBean> getProducts() {
        return products;
    }

    public void setProducts(List<CnProductBean> products) {
        this.products = products;
    }

    public String getCovenant() {
        return covenant;
    }

    public void setCovenant(String covenant) {
        this.covenant = covenant;
    }
}
